- The XBRL Standard
- XBRL Specifications
- Registries
- Functions Registry 1.0
- Functions Registry
- xfi:relationship-from-concept
- 90508:
Function test for xfi:relationship-from-concept
Documentation
Tests of function xfi:relationship-from-concept($relationship as xfi:relationship.type) as xs:QName*
Depends on xfi:concept-relationships function in order to provide the arc for testing this function.
Owners
References
http://www.xbrl.org/Specification/XF-PWD-2006-12-07.htm#_Toc152670666
Test Case Variations
V-01
Presentation relationship arc's from-concept
Documentation
Inputs
- schema: nav-rel-test1.xsd
(DTS Discovery starting point)
(ID=V01)
-
Function Call:
xfi:relationship-from-concept(
xfi:concept-relationships(
QName('http://abc.com/test','A2'),
'http://abc.com/role/link1',
'http://www.xbrl.org/2003/arcrole/parent-child',
'descendant',
xs:nonNegativeInteger(1))
)
(against file V01)
Outputs
-
Result test:
count($result) eq 1 and
(every $r in $result satisfies $r instance of xs:QName) and
$result[1] eq QName('http://abc.com/test','A2')
Revisions
Name
|
On
|
Details
|
Herm Fischer |
12-12-2008 at 00:00:00 |
Created the test case in original form for navigate-relationships.
|
Herm Fischer |
28-10-2009 at 20:00:00 |
Adapted this test from original navigate-relationships test.
|
Andy Harris |
14-09-2010 at 12:00:00 |
Fixed issues raised by Okumura-san.
|
Herm Fischer |
14-08-2011 at 12:00:00 |
Add missing xmlns:xs.
|